package com.silverbox.waimai.service.payMotion.impl;

import com.silverbox.waimai.dubboApi.payMotion.PayMotionApi;
import com.silverbox.waimai.entity.OrderPayDetail;
import com.silverbox.waimai.service.payMotion.PayMotionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <pre>
 * 功    能:
 * 涉及版本:
 * 创 建 者: YangYangjun
 * 日    期: 2020-06-08 14:21
 * </pre>
 */
@Service
public class PayMotionServiceImpl implements PayMotionService {

    @Autowired
    private PayMotionApi payMotionApi;

    @Override
    public void saveOrderPayDetail(OrderPayDetail opd) {
        payMotionApi.saveOrderPayDetail(opd);
    }

    @Override
    public void updateOrderPayDetail(OrderPayDetail opd) {
        payMotionApi.updateOrderPayDetail(opd);
    }
}
